home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / srtrn100.lha / SerTrans / Install < prev    next >
Text File  |  1995-10-30  |  1KB  |  97 lines

  1. ; This is test of many of the features of the Installer
  2. ; Prints out debugging info if run from CLI
  3.  
  4. (complete 0)
  5.  
  6. (set InstallDir
  7.     (askdir
  8.         (prompt "Where do you want to install SerTrans?\nA Directory named SerTrans will created there")
  9.         (help @askdir-help)
  10.         (default "SYS:")
  11.     )
  12. )
  13.  
  14. (complete 10)
  15.  
  16. (Set DestDir
  17.     (tackon InstallDir "SerTrans")
  18. )
  19.  
  20. (complete 20)
  21.  
  22. (Set ExtraDir
  23.     (tackon DestDir "Extras")
  24. )
  25.  
  26. (complete 30)
  27.  
  28. (Set LocaleDir
  29.     (tackon DestDir "Locale")
  30. )
  31.  
  32. (complete 40)
  33.  
  34. (makedir
  35.     DestDir
  36.     (infos)
  37. )
  38.  
  39. (complete 50)
  40.  
  41. (if
  42.     (askbool
  43.         (prompt    "Do you want to install the Extras?")
  44.         (help    "Extras Are: Extra Icons and the Connect Program")
  45.     )
  46.     (
  47.         (makedir
  48.         ExtraDir
  49.         (infos)
  50.         )
  51.  
  52. (complete 60)
  53.  
  54.         (copyfiles
  55.         (source "Extras")
  56.         (dest ExtraDir)
  57.         (all)
  58.         (infos)
  59.         (noposition)
  60.         )
  61.     )
  62. )
  63.  
  64. (complete 70)
  65.  
  66. (copyfiles
  67.     (source "")
  68.     (dest DestDir)
  69.     (pattern "~(Install|Catalogs|Libs|Extras|Docs|Fonts)#?")
  70.     (infos)
  71.     (noposition)
  72. )
  73.  
  74. (complete 80)
  75.  
  76. (copylib
  77.     (prompt "Copying SerTrans.Library to LIBS:")
  78.     (help "Copy's the SerTrans.Library to LIBS:")
  79.     (source "Libs/sertrans.library")
  80.     (dest "LIBS:")
  81.     (confirm)
  82. )
  83.  
  84. (complete 90)
  85.  
  86. (copyfiles
  87.     (prompt "Copying catalog files")
  88.     (help @copyfiles-help)
  89.     (source "Catalogs")
  90.     (dest "LOCALE:Catalogs")
  91.     (confirm)
  92.     (choices "english" "deutsch")
  93. )
  94.  
  95. (complete 100)
  96.  
  97.